
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '财务结算信息',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'bzmc_8d256786_kbun',
        name: "{{bzmc_8d256786_kbun}}",
        binding: 'bzmc',
        updateOn: 'blur',
        defaultI18nValue: '币种名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    bzmc: FormControl;

    @NgFormControl({
        id: 'bzbh_8a06134c_eb3w',
        name: "{{bzbh_8a06134c_eb3w}}",
        binding: 'bzbh',
        updateOn: 'blur',
        defaultI18nValue: '币种编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    bzbh: FormControl;

    @NgFormControl({
        id: 'bzbz_08a755cd_ewv9',
        name: "{{bzbz_08a755cd_ewv9}}",
        binding: 'bzbz',
        updateOn: 'blur',
        defaultI18nValue: '币种备注',
    })
    bzbz: FormControl;

}